package com.chengh.vhr.service.serviceImpl;

import com.chengh.vhr.mapper.NationMapper;
import com.chengh.vhr.model.Nation;
import com.chengh.vhr.service.NationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NationServiceImpl implements NationService {

    @Autowired
    NationMapper nationMapper;

    /**
     * @Description 查找所有的名族列表 
     * @return java.util.List<com.chengh.vhr.model.Nation> 
     * @Author chengh
     * @Datetime 2021/1/25 21:35
     */
    @Override
    public List<Nation> getNations() {
        return nationMapper.selectNations();
    }
}
